package net.nyancofc.piconnow.util;

import android.location.Location;
import android.util.Log;

public class DumpLog {
    // 位置情報ログ出力
    public static void dumpLocationInfo2Log(Location location) {
    	if (location != null) {
	        Log.v("----------", "現在の測位情報にゃ...----------");
	        Log.v("Latitude", String.valueOf(location.getLatitude()));
	        Log.v("Longitude", String.valueOf(location.getLongitude()));
	        Log.v("Accuracy", String.valueOf(location.getAccuracy()));
	        Log.v("Altitude", String.valueOf(location.getAltitude()));
	        Log.v("Time", String.valueOf(location.getTime()));
	        Log.v("Speed", String.valueOf(location.getSpeed()));
	        Log.v("Bearing", String.valueOf(location.getBearing()));
	        Log.v("Provider", String.valueOf(location.getProvider()));
	        Log.v("----------", "----------");
    	}
    }

}
